package com.ttbj.product.bean.dto;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class BillCostDto implements Serializable {
	
	private static final Logger logger = LoggerFactory.getLogger(BillCostDto.class);

	private static final long serialVersionUID = 3574247738034219380L;

	/**
	 * 全部费用
	 */
	private Float allFee;
	/**
	 * 运费
	 */
	private Float carriage;
	/**
	 * 打包费
	 */
	private Float packFee;
	/**
	 * 搬运费
	 */
	private Float carryFee;

	public BillCostDto() {
		// TODO Auto-generated constructor stub
	}
 
	public BillCostDto(Float allFee, Float carriage, Float packFee, Float carryFee) {
		super();
		this.allFee = allFee;
		this.carriage = carriage;
		this.packFee = packFee;
		this.carryFee = carryFee;
		logger.info("运费：{} 搬运费:{} 打包费:{} 总费用：{}", carriage, carryFee, packFee, allFee);
	}

	public Float getAllFee() {
		return allFee;
	}

	public void setAllFee(Float allFee) {
		this.allFee = allFee;
	}

	public Float getCarriage() {
		return carriage;
	}

	public void setCarriage(Float carriage) {
		this.carriage = carriage;
	}

	public Float getPackFee() {
		return packFee;
	}

	public void setPackFee(Float packFee) {
		this.packFee = packFee;
	}

	public Float getCarryFee() {
		return carryFee;
	}

	public void setCarryFee(Float carryFee) {
		this.carryFee = carryFee;
	}

	@Override
	public String toString() {
		return "CostDto [allFee=" + allFee + ", carriage=" + carriage + ", packFee=" + packFee + ", carryFee=" + carryFee + "]";
	}

}
